<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=1200, initial-scale=1.0">
    <title>访问非常规元素</title>
</head>
<body>
    <div id='myDiv'>test</div>
    <script>
        console.log(document.doctype)
        console.log(typeof document.doctype)
        console.log(document.documentElement)
        console.log(document.head)
        console.log(document.title)
        console.log(document.body)
    </script>
</body>
</html>